﻿using Abp.Domain.Entities;
using System;
using System.ComponentModel.DataAnnotations.Schema;

namespace HCD.Entities
{
    /// <summary>
    /// 患者血糖(体征)记录
    /// </summary>
    public class VitalSignsV : Entity<string>
    {
        [Column("ID")]
        public override string Id { get => base.Id; set => base.Id = value; }
        /// <summary>
        /// 病人标识
        /// </summary>
        [Column("PATIENT_ID")]
        public string PatientId { get; set; }

        /// <summary>
        /// 就诊标识
        /// </summary>
        [Column("VISIT_ID")]
        public string VisitId { get; set; }

        /// <summary>
        /// 记录日期
        /// </summary>
        [Column("RECORDING_DATE")]
        public DateTime? RecordingDate { get; set; }

        /// <summary>
        /// 时间点
        /// </summary>
        [Column("TIME_POINT")]
        public DateTime? TimePoint { get; set; }

        /// <summary>
        /// 记录项目(含血糖，如餐前血糖、餐后2小时血糖、空腹血糖)
        /// </summary>
        [Column("VITAL_SIGNS")]
        public string VitalSigns { get; set; }

        /// <summary>
        /// 项目数值
        /// </summary>
        [Column("VITAL_SIGNS_VALUES")]
        public string VitalSignsValues { get; set; }

        /// <summary>
        /// 项目单位
        /// </summary>
        [Column("UNITS")]
        public string Units { get; set; }
    }
}
